class Adaptee {
    specificRequest() {
        console.log('Type-C接口');
        return 'Type-C接口';
    }
}

class Target {
    constructor() {
        this.adaptee = new Adaptee();
    }
    request() {
        let info = this.adaptee.specificRequest();
        console.log(`${info}--转换器--HDMI口`);
    }
}

let target = new Target();
target.request();